var mongoose = require("mongoose");

var zoneSchema = new mongoose.Schema({
    xPos: { type: Number, default: 0 },
    yPos: { type: Number, default: 0},
    attacked: { type: Boolean, default: false },
    power: { type: Number, default: 0 },
    user_mail: { type: String, default:"" }
});

var zone = mongoose.model('Zone', zoneSchema);

module.exports = {
    Zone: zone
}